@extends('home.personal.userlayout')
@section('title','广告')
@section('style')
    <link rel="stylesheet" href="{{ asset('/home/css/content.css')}}?version=2"/>
@endsection

@section('content')
    <div class="yc_content">
        <div class="title">
            <h3>{{$data->name}}</h3>
            <p>{{ date('Y-m-d',strtotime($data->created_at)) }} <span>{{ sprintf('%.2f',$data->price/100) }}元</span></p>
        </div>
        <div class="content">
            {!! $data->content !!}
        </div>
    </div>
    <script>
        var title = "{{ $data->name }}";
        $('.head p').text(title);
    </script>
@endsection